The Complexity of Testing Ground Reducibility for Linear Word Rewriting Systems with Variables

نویسندگان

  • Gregory Kucherov
  • Michaël Rusinowitch
چکیده

In 9] we proved that for a word rewriting system with variables R and a word with variables w, it is undecidable if w is ground reducible by R, that is if all the instances of w obtained by substituting its variables by non-empty words are reducible by R. On the other hand, if R is linear, the question is decidable for arbitrary (linear or non-linear) w. In this paper we futher study the complexity of the above problem and prove that it is co-NP-complete if both R and w are restricted to be linear. The proof is based on the construction of a deterministic nite automaton for the language of words reducible by R. The construction generalizes the well-known Aho-Corasick automaton for string matching against a set of keywords.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Undecidability of Ground Reducibility for Word Rewriting Systems with Variables

Given a nite alphabet A and an alphabet of variables X we consider words over A X called words with variables or patterns and words over A called simply words or strings A nite set R of rewrite rules w v where w v are words with variables is called a word rewriting system with variables WRSV From the viewpoint of rewriting systems theory WRSV s are rewriting systems over a signature consisting ...

متن کامل

The Complexitiy of Testing Ground Reducibility for Linear Word Rewriting Systems with Variables

In we proved that for a word rewriting system with vari ables R and a word with variables w it is undecidable if w is ground reducible by R that is if all the instances of w obtained by substituting its variables by non empty words are reducible by R On the other hand if R is linear the question is decidable for arbitrary linear or non linear w In this paper we futher study the complexity of th...

متن کامل

Ground Reducibility and Automata with Disequality Constraints

Using the automata with constraints, we give an algorithm for the decision of ground reducibility of a term t w.r.t. a rewriting system R. The complexity of the algorithm is doubly exponential in the maximum of the depths of t and R and the cardinal of R.

متن کامل

Ground Reducibility is EXPTIME-Complete

We prove that ground reducibility is EXPTIME-complete in the general case. EXPTIME-hardness is proved by encoding the computations of an alternating Turing machine whose space is polynomially bounded. It is more difficult to show that ground reducibility belongs to DEXPTIME. We associate first an automaton with disequality constraints AR;t to a rewrite system R and a term t. This automaton is d...

متن کامل

Modeling reducibility on ground terms using constraints

In this note, we explain how to model (ir)reducibility of rewriting on ground terms using (dis)equational constraints. We show in particular that innermost (ir)reducibility can be modeled with a particular narrowing relation and that (dis)equational constraints are issued from the most general unifiers of this narrowing relation.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995